package top.lilele.adminSystem.dao;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;
import top.lilele.adminSystem.entity.AdminResourceEntity;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lilele
 */
@Data
public class AddResourceDao extends AdminResourceEntity implements Serializable {
    /**
     * 图片
     */
    @NotNull(message = "资源图标缺失")
    private MultipartFile multipartFile;
}
